import http from "../http/index.js";
import config from "../config/index.js";

class IndexService {
	//用户注册
	async reg(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.reg,
			data: data,
			header: header
		})
	}
	//用户登录
	async login(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.login,
			data: data,
			header: header
		})
	}
	// 获取验证码
	async sendSms(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.sendSms,
			data: data,
			header: header
		})
	}
	//重置密码
	async resetPwd(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.resetPwd,
			data: data,
			header: header
		})
	}
	//获取用户信息
	async getUserInfo(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getUserInfo,
			data: data,
			header: header
		})
	}

	//  公告
	async getNewsList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getNewsList,
			data: data,
			header: header
		})
	}

	//提现  money,(需要头部传参)， Post
	async cash(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.cash,
			data: data,
			header: header
		})
	}

	//交流群
	async getQun(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getQun,
			data: data,
			header: header
		})
	}

	//提升幸运值
	async uplucy(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.uplucy,
			data: data,
			header: header
		})
	}

	//背包分类
	async backpackCate(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.backpackCate,
			data: data,
			header: header
		})
	}

	//背包
	async backpackList(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.backpackList,
			data: data,
			header: header
		})
	}

	//背包出售丹药
	async backpackSysback(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.backpackSysback,
			data: data,
			header: header
		})
	}

	//背包出售装备
	async backpackSysbackKit(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.backpackSysbackKit,
			data: data,
			header: header
		})
	}

	//背包出售法器
	async backpackSysbackFaqi(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.backpackSysbackFaqi,
			data: data,
			header: header
		})
	}

	//灵石明细
	async getlingshilog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getlingshilog,
			data: data,
			header: header
		})
	}
	
	//升仙开关
	async shenxingcheck(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.shenxingcheck,
			data: data,
			header: header
		})
	}
	
	//ios广告开始
	async adlookStart(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.adlookStart,
			data: data,
			header: header
		})
	}
	
	//ios广告结束
	async adlookEnd(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.adlookEnd,
			data: data,
			header: header
		})
	}

	//铜钱明细
	async gettongqianlog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.gettongqianlog,
			data: data,
			header: header
		})
	}

	//神石明细
	async getshenshilog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getshenshilog,
			data: data,
			header: header
		})
	}
	//零钱明细
	async getlingqianlog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getlingqianlog,
			data: data,
			header: header
		})
	}
	//修改昵称
	async changeNickname(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.changeNickname,
			data: data,
			header: header
		})
	}
	//vip首页
	async vipindexList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.vipindexList,
			data: data,
			header: header
		})
	}
	//激活vip
	async vipOpen(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.vipOpen,
			data: data,
			header: header
		})
	}
	//永久免广告激活
	async vipfreead(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.vipfreead,
			data: data,
			header: header
		})
	}


	//历练列表
	async lilianlist(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.lilianlist,
			data: data,
			header: header
		})
	}

	//突破材料详情
	async updetail(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.updetail,
			data: data,
			header: header
		})
	}

	//突破、突破境界
	async gradeup(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.gradeup,
			data: data,
			header: header
		})
	}

	//背包的修为丹列表
	async xiuweiupdate(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.xiuweiupdate,
			data: data,
			header: header
		})
	}

	//背包的战力列表
	async zhanliupdate(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.zhanliupdate,
			data: data,
			header: header
		})
	}

	//炼丹首页
	async liandanList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.liandanList,
			data: data,
			header: header
		})
	}

	//丹方列表
	async liandanwayList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.liandanwayList,
			data: data,
			header: header
		})
	}

	//确认炼制丹方
	async liandanselectway(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.liandanselectway,
			data: data,
			header: header
		})
	}

	//开始炼丹
	async liandanStart(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.liandanStart,
			data: data,
			header: header
		})
	}

	//领取丹药
	async liandanfinish(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.liandanfinish,
			data: data,
			header: header
		})
	}

	//炼丹记录
	async liandanLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.liandanLogs,
			data: data,
			header: header
		})
	}

	//阵法
	async zhenfaList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.zhenfaList,
			data: data,
			header: header
		})
	}

	//阵法合成
	async zhenfaSynthesis(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.zhenfaSynthesis,
			data: data,
			header: header
		})
	}

	//注销账号
	async zhuxiao(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.zhuxiao,
			data: data,
			header: header
		})
	}

	//使用单个修为丹药
	async useonexiuwei(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.useonexiuwei,
			data: data,
			header: header
		})
	}

	//使用单个战力丹药
	async useonezhanli(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.useonezhanli,
			data: data,
			header: header
		})
	}

	//获取支付宝绑定账号
	async accountAlibild(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.accountAlibild,
			data: data,
			header: header
		})
	}
	
	//支付宝绑定账号
	async accountAlibild2(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.accountAlibild,
			data: data,
			header: header
		})
	}

	//使用所有修为丹药
	async useallxiuwei(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.useallxiuwei,
			data: data,
			header: header
		})
	}

	//使用所有战力丹药
	async useallzhanli(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.useallzhanli,
			data: data,
			header: header
		})
	}


	// 绑定支付宝账号
	async bindAli(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.bindAli,
			data: data,
			header: header
		})
	}



	// 零钱记录
	async moneyDetailList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.moneyDetailList,
			data: data,
			header: header
		})
	}

	// 战力排行榜
	async rankfight(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.rankfight,
			data: data,
			header: header
		})
	}

	// 团队排行榜
	async rankgroup(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.rankgroup,
			data: data,
			header: header
		})
	}

	//直推好友列表 
	async getOneUser(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getOneUser,
			data: data,
			header: header
		})
	}

	//    间推好友列表
	async getTwoUser(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getTwoUser,
			data: data,
			header: header
		})
	}

	//查看用户个人信息
	async getInfo(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getInfo,
			data: data,
			header: header
		})
	}

	// 公告内容：header,id
	async getNews(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getNews,
			data: data,
			header: header
		})
	}

	// 首页引导任务
	async guidetask(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.guidetask,
			data: data,
			header: header
		})
	}

	// 首页引导任务领取
	async guidetaskRece(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.guidetaskRece,
			data: data,
			header: header
		})
	}

	// 兑换码领取奖励
	async taskRedemptioCode(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.taskRedemptioCode,
			data: data,
			header: header
		})
	}

	// 游戏账号密码
	async gameAccountcode(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.gameAccountcode,
			data: data,
			header: header
		})
	}

	// 修仙好友
	async taskxiuxian(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.taskxiuxian,
			data: data,
			header: header
		})
	}

	// 修仙好友领取
	async taskxiuxianRece(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.taskxiuxianRece,
			data: data,
			header: header
		})
	}

	// 修仙好友领取记录
	async taskxiuxianRecelog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.taskxiuxianRecelog,
			data: data,
			header: header
		})
	}


	//仙玉明细
	async inviteopenLogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.inviteopenLogs,
			data: data,
			header: header
		})
	}

	//四个排行榜
	async rankList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.rankList,
			data: data,
			header: header
		})
	}

	//游戏等级神石奖励
	async shenshiGamereword(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.shenshiGamereword,
			data: data,
			header: header
		})
	}

	//领取游戏成就奖励
	async shenshiGameReceive(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.shenshiGameReceive,
			data: data,
			header: header
		})
	}

	//免广告加速
	async adResult(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.adResult,
			data: data,
			header: header
		})
	}

	//VIP加速
	async vipAddspeed(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.vipAddspeed,
			data: data,
			header: header
		})
	}

	//获取市场分类
	async marketCate(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.marketCate,
			data: data,
			header: header
		})
	}

	//获取市场列表
	async marketIndex(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.marketIndex,
			data: data,
			header: header
		})
	}

	//发布出售和发布求购列表
	async marketMyorderList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.marketMyorderList,
			data: data,
			header: header
		})
	}

	// 下架
	async marketOffshelf(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.marketOffshelf,
			data: data,
			header: header
		})
	}

	// 出售
	async marketSell(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.marketSell,
			data: data,
			header: header
		})
	}

	// 购买
	async marketBuy(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.marketBuy,
			data: data,
			header: header
		})
	}

	//市场记录
	async marketBuylog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.marketBuylog,
			data: data,
			header: header
		})
	}

	//发布求购物品列表
	async marketProps(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.marketProps,
			data: data,
			header: header
		})
	}

	//发布出售物品列表
	async marketPropsList(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.marketPropsList,
			data: data,
			header: header
		})
	}

	//发布求购
	async marketPublishwantbuy(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.marketPublishwantbuy,
			data: data,
			header: header
		})
	}

	//发布出售
	async marketPublishsell(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.marketPublishsell,
			data: data,
			header: header
		})
	}



	//大玩家列表 
	async ceolists(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.ceolists,
			data: data,
			header: header
		})
	}

	//大玩家列表用户 
	async userlist(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.userlist,
			data: data,
			header: header
		})
	}

	//取消大玩家
	async cancelsuper(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.cancelsuper,
			data: data,
			header: header
		})
	}

	//升级大玩家
	async upgradesuper(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.upgradesuper,
			data: data,
			header: header
		})
	}

	//更新社交信息
	async profile(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.profile,
			data: data,
			header: header
		})
	}

	//好友列表
	async friends(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.friends,
			data: data,
			header: header
		})
	}

	//好友申请列表
	async addlist(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.addlist,
			data: data,
			header: header
		})
	}

	//好友搜索
	async search(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.search,
			data: data,
			header: header
		})
	}

	//发送好友申请
	async addfriends(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.addfriends,
			data: data,
			header: header
		})
	}

	//处理好友申请
	async execute(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.execute,
			data: data,
			header: header
		})
	}

	//助力列表
	async helplist(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.helplist,
			data: data,
			header: header
		})
	}

	//好友助力
	async helpfriend(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.helpfriend,
			data: data,
			header: header
		})
	}

	//转赠灵石
	async transfer(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.transfer,
			data: data,
			header: header
		})
	}

	//获取用户头像昵称
	async getUInfo(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getuser,
			data: data,
			header: header
		})
	}

	//获取转赠手续费
	async getcommission(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getcommission,
			data: data,
			header: header
		})
	}

	//转赠日志
	async gettransfer(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.gettransfer,
			data: data,
			header: header
		})
	}

	//副本关卡列表
	async fbarea(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.fbarea,
			data: data,
			header: header
		})
	}

	//秘境搜索
	async mjsearch(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.mjsearch,
			data: data,
			header: header
		})
	}

	//恢复精力弹框
	async jingli(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.jingli,
			data: data,
			header: header
		})
	}

	//使用精力丹
	async usejingli(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.usejingli,
			data: data,
			header: header
		})
	}

	//查看掉落
	async detaillogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.detaillogs,
			data: data,
			header: header
		})
	}

	//是否有新邮件
	async hasnew(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.hasnew,
			data: data,
			header: header
		})
	}

	//邮件列表
	async emialpage(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.emialpage,
			data: data,
			header: header
		})
	}

	//邮件详情
	async emaildl(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.emaildl,
			data: data,
			header: header
		})
	}

	//邮件领取
	async receive(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.receive,
			data: data,
			header: header
		})
	}

	//删除已读
	async deletebatch(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.deletebatch,
			data: data,
			header: header
		})
	}

	//一件领取
	async receivebatch(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.receivebatch,
			data: data,
			header: header
		})
	}

	//是否有新邮件
	async hasnewmail(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.hasnewmail,
			data: data,
			header: header
		})
	}


	//灵宠列表
	async petlist(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.petlist,
			data: data,
			header: header
		})
	}

	//立即饲养
	async petadopt(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.petadopt,
			data: data,
			header: header
		})
	}

	//灵宠每日领取
	async petget(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.petget,
			data: data,
			header: header
		})
	}

	//坐骑列表/
	async mount(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.mount,
			data: data,
			header: header
		})
	}

	//领取坐骑
	async mountadopt(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.mountadopt,
			data: data,
			header: header
		})
	}

	//坐骑领取
	async mountget(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.mountget,
			data: data,
			header: header
		})
	}

	//积累贡献
	async contribute(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.contribute,
			data: data,
			header: header
		})
	}


	//药园列表
	async fieldindex(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.fieldindex,
			data: data,
			header: header
		})
	}

	//药园种子
	async seed(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.seed,
			data: data,
			header: header
		})
	}

	//种植
	async seedin(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.seedin,
			data: data,
			header: header
		})
	}

	//领取
	async seedout(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.seedout,
			data: data,
			header: header
		})
	}

	//种植记录
	async seedlogs(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.seedlogs,
			data: data,
			header: header
		})
	}

	//加速详情
	async getspeed(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getspeed,
			data: data,
			header: header
		})
	}

	//好友助力
	async getfriends(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getfriends,
			data: data,
			header: header
		})
	}

	//发送助力邀请
	async msghelp(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.msghelp,
			data: data,
			header: header
		})
	}



	//装备首页
	async zbindex(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.zbindex,
			data: data,
			header: header
		})
	}

	//背包装备
	async kit(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.kit,
			data: data,
			header: header
		})
	}

	//穿上脱下装备
	async kiton(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.kiton,
			data: data,
			header: header
		})
	}

	//法器背包
	async faqi(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.faqi,
			data: data,
			header: header
		})
	}

	//穿上脱下法器
	async faqion(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.faqion,
			data: data,
			header: header
		})
	}

	//法器合成列表
	async composelist(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.composelist,
			data: data,
			header: header
		})
	}

	//法器合成
	async compose(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.compose,
			data: data,
			header: header
		})
	}


	//推广首页
	async tgindex(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.tgindex,
			data: data,
			header: header
		})
	}

	//今日贡献
	async todaycontribute(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.todaycontribute,
			data: data,
			header: header
		})
	}

	//日贡献/
	async daycontribute(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.daycontribute,
			data: data,
			header: header
		})
	}

	//好有贡献
	async usercontribute(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.usercontribute,
			data: data,
			header: header
		})
	}

	//收取钱袋子
	async moneyreceive(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.moneyreceive,
			data: data,
			header: header
		})
	}


	//好友记录
	async friendhelps(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.friendhelps,
			data: data,
			header: header
		})
	}


	// 魔尊来袭
	// async mozunlist(data = {}, header = {}) {
	// 	return await http.get2({
	// 		url: config.urlList.mozunlist,
	// 		data: data,
	// 		header: header
	// 	})
	// }

	//道侣首页
	async daoindex(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.daoindex,
			data: data,
			header: header
		})
	}

	//道侣刷新列表
	async freshlist(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.freshlist,
			data: data,
			header: header
		})
	}

	//背包刷新道具
	async freshprops(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.freshprops,
			data: data,
			header: header
		})
	}

	//道侣刷新
	async daofresh(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.daofresh,
			data: data,
			header: header
		})
	}

	//邀请道友
	async daoadd(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.daoadd,
			data: data,
			header: header
		})
	}

	//礼物道具
	async gift(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.gift,
			data: data,
			header: header
		})
	}

	//赠送礼物
	async sendgift(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.sendgift,
			data: data,
			header: header
		})
	}

	//赠送所有
	async sendall(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.sendall,
			data: data,
			header: header
		})
	}

	//双修
	async loveadd(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.loveadd,
			data: data,
			header: header
		})
	}

	//丹药列表
	async pill(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.pill,
			data: data,
			header: header
		})
	}

	//使用合欢丹
	async usepill(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.usepill,
			data: data,
			header: header
		})
	}

	//遣散
	async leave(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.leave,
			data: data,
			header: header
		})
	}

	//神石
	async shenshi(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.shenshi,
			data: data,
			header: header
		})
	}

	//神石探索
	async ssopen(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.ssopen,
			data: data,
			header: header
		})
	}

	//探索记录 
	async ssopenlog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.ssopenlog,
			data: data,
			header: header
		})
	}

	//我的好友 
	async getmybelow(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getmybelow,
			data: data,
			header: header
		})
	}

	//我的邀请人
	async getmyinvite(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.getmyinvite,
			data: data,
			header: header
		})
	}

	//升仙大会首页
	async sxindex(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.sxindex,
			data: data,
			header: header
		})
	}

	//奖励区服
	async configgamearea(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.configgamearea,
			data: data,
			header: header
		})
	}

	//升仙记录
	async sxlog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.sxlog,
			data: data,
			header: header
		})
	}

	//升仙大会领取
	async sxreceive(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.sxreceive,
			data: data,
			header: header
		})
	}

	//限时直推推广
	async taskfriends(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.taskfriends,
			data: data,
			header: header
		})
	}
	//限时间推推广
	async jiantuihaoyou(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.jiantuihaoyou,
			data: data,
			header: header
		})
	}
	//领取团队任务
	async trceivetaskteam(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.trceivetaskteam,
			data: data,
			header: header
		})
	}
	//神石宝库十次开
	async tenopenshenshi(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.tenopenshenshi,
			data: data,
			header: header
		})
	}

	//境界奖励
	async taskgrade(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.taskgrade,
			data: data,
			header: header
		})
	}

	//游戏等级奖励    
	async taskgame(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.taskgame,
			data: data,
			header: header
		})
	}

	//夺宝
	async rewardlist(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.rewardlist,
			data: data,
			header: header
		})
	}

	//夺宝详情
	async getdetail(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getdetail,
			data: data,
			header: header
		})
	}

	//参与夺宝
	async enroll(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.enroll,
			data: data,
			header: header
		})
	}

	//我的夺宝订单/
	async orderlogs(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.orderlogs,
			data: data,
			header: header
		})
	}

	//获奖名单
	async rewardlogs(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.rewardlogs,
			data: data,
			header: header
		})
	}

	//实物兑换列表
	async getreallist(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.getreallist,
			data: data,
			header: header
		})
	}

	//兑换
	async realreward(data = {}, header = {}) {
		return await http.post({
			url: config.urlList.realreward,
			data: data,
			header: header
		})
	}


	//大逃杀首页
	async mozunlist(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.mozunlist,
			data: data,
			header: header
		})
	}

	//获取记录/
	async werewolflog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.werewolflog,
			data: data,
			header: header
		})
	}

	//参与记录/ 
	async joinlog(data = {}, header = {}) {
		return await http.get({
			url: config.urlList.joinlog,
			data: data,
			header: header
		})
	}

}

export default new IndexService()